package com.yanqu.road.server.cmd.banquet;

import com.yanqu.road.server.cmd.CrossCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.manager.banquet.CrossPartyMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.CrossProtocol;

@Cmd(code = CrossProtocol.C_CROSS_BANQUET_RELATIONSHIP_SYNC, desc = "")
public class NeedSyncBanqeutRelationshipCmd extends CrossCommand {
    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {
        CrossPartyMgr.relationshipAck(serverId);
    }

    @Override
    public void sendData() {

    }
}
